// 导入 mysql 包,并链接本地数据库 my_db_01
const mysql = require("mysql");

const db = mysql.createPool({
  host: "127.0.0.1",
  user: "root",
  password: "root",
  database: "my_db_01",
});

module.exports = db;
